<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2021/11/27
  Time: 16:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
    <style type="text/css">
        body {
            background-image: url("${pageContext.request.contextPath}/images/background.jpeg");
            background-size: 100%, 100%;
        }
    </style>
</head>
<body>
<header style="height: 40px">
    <%@ include file="../common/adminHead.jsp" %>
</header>
<form method="post" name="addCompetition" action="${pageContext.request.contextPath}/addCompetition.do">
    <p>
        ${requestScope.idLength}
        <br>编号：
        <label>
            <input type="number" name="id">
        </label>
    </p>
    <p>
        ${requestScope.competitionNameNull}
        <br>名称：
        <label>
            <input type="text" name="competitionName">
        </label>
    </p>
    <p>
        ${requestScope.dateNull}
        <br>日期：
        <label>
            <input type="date" name="date">
        </label>
    </p>
    <p>
        描述：
        <label>
            <textarea name="describe"></textarea>
        </label>
    </p>
    <p>
        ${requestScope.teacherIdLength}
        <br>工号：
        <label>
            <input type="number" name="teacherId">
        </label>
    </p>
    <p>
        ${requestScope.teacherNameCode}
        <br>${requestScope.teacherNameNull}
        <br>教师：
        <label>
            <input type="text" name="teacherName">
        </label>
    </p>
    ${requestScope.error}
    <br><input type="submit" value="添加">
</form>
<footer style="height: 30px">
    <%@ include file="../common/foot.jsp" %>
</footer>
</body>
</html>
